﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FiyatTanim.aspx.cs" Inherits="Admin_FiyatTanim" %>

<%@ Register Assembly="CrmControls" Namespace="CrmControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Veyron Crm</title>

    <script type="text/javascript">
    function SilKontrol()
    {
    var txt1idver=document.getElementById('txtfytadi');
    if(txt1idver.value!="")
    return true;
    else
    {
    alert("Lütfen Fiyat Kodunu Boş Bırakmayın!..");
    return false;
    }
    }
   function Kontrol()
    {
        var txt1idver=document.getElementById('txtfytadi');
        var txt1idver=document.getElementById('txtfytkod');
        if(txt1idver.value!="")
        {
            return true;
        }
        else
        {
            alert('Fiyat Adı ve Kodu Alanını Boş Geçemezsiniz !');
            return false;
        }
   }

    function PageClose()
    {
      window.close();
      window.opener.location='../DataList.aspx?type=Fiyat'; 
    }
    function Refresh()
    {
      window.opener.location='../DataList.aspx?type=Fiyat'; 
    }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="ToolBar">
        <table>
            <tr>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnKaydet" AlternateText="Kaydet" ImageUrl="~/images/page/save.gif"
                        OnClick="imgbtnKaydet_Click" />
                </td>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnKaydetKapat" AlternateText="Kaydet ve Kapat"
                        ImageUrl="~/images/page/saveClose.gif" OnClick="imgbtnKaydetKapat_Click" Width="16px" />
                </td>
                <td>
                    <asp:ImageButton runat="server" ID="imgbtnSil" AlternateText="Sil" ImageUrl="~/images/page/remove.gif"
                        OnClick="imgbtnSil_Click" />
                </td>
                  <td>
                    <asp:ImageButton ID="imgNewREcord" AlternateText="Yeni Kayıt" runat="server" ImageUrl="~/images/page/newrecord.gif"
                        OnClick="imgNewREcord_Click" Style="width: 16px" />
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table>
            <asp:Panel runat="server" ID="pnlControls">
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfytkod" Text="Fiyat Kod"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtfytkod" KontrolTipi="Sayi" NullKontrol="true"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfytadi" Text="Fiyat Adi"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmTextBox runat="server" ID="txtfytadi" BuyukHarf="Multi" Maxlength="25" KontrolTipi="Multi"
                            NullKontrol="true"></cc1:CrmTextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <cc1:CrmLabel runat="server" ID="lblfytkdvdahilmi" Text="Fiyat'a Kdv Dahil"></cc1:CrmLabel>
                    </td>
                    <td>
                    </td>
                    <td>
                        <cc1:CrmCheckBox runat="server" ID="chk_Fyt_Kdv_Dahilmi" />
                    </td>
                </tr>
            </asp:Panel>
        </table>
    </div>
    </form>
</body>
</html>
